﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.DomainModel.Sys
{
    /// <summary>
    /// 角色表模型
    /// </summary>
    public class SysRole
    {
        /// <summary>
        /// 角色id
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// 上级角色id
        /// </summary>
        public int Pid { get; set; }

        /// <summary>
        /// 公司key
        /// </summary>
        public string? CorporationKey { get; set; }

        /// <summary>
        /// 系统key
        /// </summary>
        public string? SystemKey { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string? RoleName { get; set; }

        /// <summary>
        /// 角色类型
        /// </summary>
        public int RoleType { get; set; }

        /// <summary>
        /// 是否开启
        /// </summary>
        public bool IsOpen { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人员
        /// </summary>
        public string? CreateUser { get; set; }
    }
}
